package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Lined;
import com.huazhi.wzsnw.model.ShuiZhi;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShuiZhiMapper {
    int deleteByPrimaryKey(String tid);

    int insert(ShuiZhi record);

    int insertSelective(ShuiZhi record);

    ShuiZhi selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(ShuiZhi record);

    int updateByPrimaryKey(ShuiZhi record);

    List<String> selectListTidBySearch(@Param("key")String search);

    List<ShuiZhi> findPagingByListTid(@Param("listTid")List<String> stringList,@Param("pageIndex")Integer pageIndex,@Param("pageSize")Integer pageSize);

    List<ShuiZhi> getListByCategory();
}